package com.example.xyxwebbackend001.model.DTO;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class FoodContentDTO {
    @NotBlank(message = "内容类型不能为空")
    private String type;

    // 必须字段
    private String content;

    // 以下为可选字段
    @jakarta.annotation.Nullable
    private String listItems;

    @jakarta.annotation.Nullable
    private String filePath;
}
